extern crate serde;
extern crate serde_json;

use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
pub struct Fan{
    pub user_uuid :String,
    pub nice_name: String,
    pub real_name: String,
    pub is_explicit: i32,
    pub fan_num: i64,
    pub avatar_text: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct FanListData{
    pub cur_page:i32,
    pub datas:Option<Vec<Fan>>,
    pub offset:i64,
    pub over:bool,
    pub page_count:i32,
    pub size:i32,
    pub total:i32,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct FanPageData{
    pub data:FanListData,
    pub error_code:i32,
    pub error_msg:String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct LevelScore{
    pub user_uuid :String,
    pub nice_name: String,
    pub real_name: String,
    pub is_explicit: i32,
    pub level_score: i64,
    pub avatar_text: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct LevelScoreListData{
    pub cur_page:i32,
    pub datas:Option<Vec<LevelScore>>,
    pub offset:i64,
    pub over:bool,
    pub page_count:i32,
    pub size:i32,
    pub total:i32,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct LevelScorePageData{
    pub data:LevelScoreListData,
    pub error_code:i32,
    pub error_msg:String,
}


